package megajournal.domain;

import java.util.List;

/**
 *
 * @author cska
 */
public class Teacher {

    private Long id;
    private String fio;
    private String rank;
    private String login;
    private String pass;
    private List<Group_Teacher_Subject> gtses;

    public Teacher() {
    }

    public Teacher(String fio, String rank, String login, String pass) {
        this.fio = fio;
        this.rank = rank;
        this.login = login;
        this.pass = pass;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setFio(String fio) {
        this.fio = fio;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }
    
    public void setLogin(String login) {
        this.login = login;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public void setGtses(List<Group_Teacher_Subject> gtses) {
        this.gtses = gtses;
    }
    
    public Long getId() {
        return id;
    }

    public String getFio() {
        return fio;
    }

    public String getRank() {
        return rank;
    }

    public String getLogin() {
        return login;
    }

    public String getPass() {
        return pass;
    }

    public List<Group_Teacher_Subject> getGtses() {
        return gtses;
    }

    @Override
    public String toString() {
        return rank + " " + fio;
    }

}
